require.config({
    paths: {
        underscore: "lib/underscore",
        backbone: "lib/backbone",
        handlebars: "lib/handlebars"
    },

    shim: {
        underscore: {
            exports: "_"
        },
        backbone: {
            deps: ["underscore", "jquery"],
            exports: "Backbone"
        },
        handlebars: {
            exports: "Handlebars"
        }
    }
});